package com.Iconcat.system.service.impl;

import com.Iconcat.system.service.CaptchaService;
import org.springframework.stereotype.Service;

@Service
public class CaptchaServiceImpl implements CaptchaService {
    public boolean validateCaptcha(String userInput, String storedCaptcha) {
        userInput = userInput.toUpperCase();
        // 进行验证
        return userInput.equals(storedCaptcha);
    }

}
